﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020011FB RID: 4603
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StartAetherDivideStageBattleCsReq : IMessage<StartAetherDivideStageBattleCsReq>, IMessage, IEquatable<StartAetherDivideStageBattleCsReq>, IDeepCloneable<StartAetherDivideStageBattleCsReq>, IBufferMessage
	{
		// Token: 0x17003A50 RID: 14928
		// (get) Token: 0x0600CE42 RID: 52802 RVA: 0x0022BAA1 File Offset: 0x00229CA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StartAetherDivideStageBattleCsReq> Parser
		{
			get
			{
				return StartAetherDivideStageBattleCsReq._parser;
			}
		}

		// Token: 0x17003A51 RID: 14929
		// (get) Token: 0x0600CE43 RID: 52803 RVA: 0x0022BAA8 File Offset: 0x00229CA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StartAetherDivideStageBattleCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003A52 RID: 14930
		// (get) Token: 0x0600CE44 RID: 52804 RVA: 0x0022BABA File Offset: 0x00229CBA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StartAetherDivideStageBattleCsReq.Descriptor;
			}
		}

		// Token: 0x0600CE45 RID: 52805 RVA: 0x0022BAC1 File Offset: 0x00229CC1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartAetherDivideStageBattleCsReq()
		{
		}

		// Token: 0x0600CE46 RID: 52806 RVA: 0x0022BAC9 File Offset: 0x00229CC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartAetherDivideStageBattleCsReq(StartAetherDivideStageBattleCsReq other) : this()
		{
			this.eventId_ = other.eventId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600CE47 RID: 52807 RVA: 0x0022BAEE File Offset: 0x00229CEE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartAetherDivideStageBattleCsReq Clone()
		{
			return new StartAetherDivideStageBattleCsReq(this);
		}

		// Token: 0x17003A53 RID: 14931
		// (get) Token: 0x0600CE48 RID: 52808 RVA: 0x0022BAF6 File Offset: 0x00229CF6
		// (set) Token: 0x0600CE49 RID: 52809 RVA: 0x0022BAFE File Offset: 0x00229CFE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint EventId
		{
			get
			{
				return this.eventId_;
			}
			set
			{
				this.eventId_ = value;
			}
		}

		// Token: 0x0600CE4A RID: 52810 RVA: 0x0022BB07 File Offset: 0x00229D07
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StartAetherDivideStageBattleCsReq);
		}

		// Token: 0x0600CE4B RID: 52811 RVA: 0x0022BB15 File Offset: 0x00229D15
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StartAetherDivideStageBattleCsReq other)
		{
			return other != null && (other == this || (this.EventId == other.EventId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600CE4C RID: 52812 RVA: 0x0022BB44 File Offset: 0x00229D44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.EventId != 0U)
			{
				num ^= this.EventId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600CE4D RID: 52813 RVA: 0x0022BB83 File Offset: 0x00229D83
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600CE4E RID: 52814 RVA: 0x0022BB8B File Offset: 0x00229D8B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600CE4F RID: 52815 RVA: 0x0022BB94 File Offset: 0x00229D94
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.EventId != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.EventId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600CE50 RID: 52816 RVA: 0x0022BBC8 File Offset: 0x00229DC8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.EventId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.EventId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600CE51 RID: 52817 RVA: 0x0022BC06 File Offset: 0x00229E06
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StartAetherDivideStageBattleCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.EventId != 0U)
			{
				this.EventId = other.EventId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600CE52 RID: 52818 RVA: 0x0022BC37 File Offset: 0x00229E37
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600CE53 RID: 52819 RVA: 0x0022BC40 File Offset: 0x00229E40
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.EventId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040052BE RID: 21182
		private static readonly MessageParser<StartAetherDivideStageBattleCsReq> _parser = new MessageParser<StartAetherDivideStageBattleCsReq>(() => new StartAetherDivideStageBattleCsReq());

		// Token: 0x040052BF RID: 21183
		private UnknownFieldSet _unknownFields;

		// Token: 0x040052C0 RID: 21184
		public const int EventIdFieldNumber = 6;

		// Token: 0x040052C1 RID: 21185
		private uint eventId_;
	}
}
